"Check that xenstored has actually started before talking to it"
invoked /usr/sbin/xenstored, which does not exist.
Absolute paths are EBW anyway.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
# Wait for xenstored to actually come up, timing out after 30 seconds
local time=0
local timeout=30
- while [ $time -lt $timeout ] && ! `/usr/sbin/xenstore-read -s / >/dev/null 2>&1` ; do
+ while [ $time -lt $timeout ] && ! `xenstore-read -s / >/dev/null 2>&1` ; do
time=$(( $time+1 ))
sleep 1
done